package prototype.persistence.pojo;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;


/**
 * <p>Pojo mapping TABLE GOAL</p>
 * <p></p>
 *
 * <p>Generated at Sun Jan 03 13:49:53 EET 2010</p>
 * @author Salto-db Generator v1.0.16 / Hibernate pojos and xml mapping files.
 * 
 */
public class Goal implements Serializable {

	/**
	 * Attribute id.
	 */
	private Integer id;
	
	/**
	 * Attribute name.
	 */
	private String name;
	
	/**
	 * Attribute type.
	 */
	private Integer type;
	
	/**
	 * Attribute timeLimit.
	 */
	private Integer timeLimit;
	
	/**
	 * Attribute radius.
	 */
	private Integer radius;
	
	/**
	 * Attribute civilLimit.
	 */
	private Integer civilLimit;
	
	/**
	 * Attribute position
	 */
	 private Position position;	

	/**
	 * Attribute user
	 */
	 private User user;	

	
	/**
	 * <p> 
	 * </p>
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id new value for id 
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name new value for name 
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return type
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * @param type new value for type 
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return timeLimit
	 */
	public Integer getTimeLimit() {
		return timeLimit;
	}

	/**
	 * @param timeLimit new value for timeLimit 
	 */
	public void setTimeLimit(Integer timeLimit) {
		this.timeLimit = timeLimit;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return radius
	 */
	public Integer getRadius() {
		return radius;
	}

	/**
	 * @param radius new value for radius 
	 */
	public void setRadius(Integer radius) {
		this.radius = radius;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return civilLimit
	 */
	public Integer getCivilLimit() {
		return civilLimit;
	}

	/**
	 * @param civilLimit new value for civilLimit 
	 */
	public void setCivilLimit(Integer civilLimit) {
		this.civilLimit = civilLimit;
	}
	
	/**
	 * get position
	 */
	public Position getPosition() {
		return this.position;
	}
	
	/**
	 * set position
	 */
	public void setPosition(Position position) {
		this.position = position;
	}

	/**
	 * get user
	 */
	public User getUser() {
		return this.user;
	}
	
	/**
	 * set user
	 */
	public void setUser(User user) {
		this.user = user;
	}



}